package com.bw.zhuangao5___day002.Adpter.BaseAdpter;

import com.bw.zhuangao5___day002.JavaClass.ZhangAndReister3;
import com.bw.zhuangao5___day002.R;
import com.bw.zhuangao5___day002.JavaClass.ZhangAndReister;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * create by ertu
 * create on 2021/9/7
 * description
 */
public class BooflassAdpter extends BaseQuickAdapter<ZhangAndReister3, BaseViewHolder> {
    public BooflassAdpter( @Nullable List<ZhangAndReister3> data) {
        super(R.layout.textzhangmi, data);

    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, ZhangAndReister3 zhangAndReister) {
        baseViewHolder.setText(R.id.booflassadpter_zhang,""+ zhangAndReister.getZhanghao3());
        baseViewHolder.setText(R.id.booflassadpter_mi,""+ zhangAndReister.getMima3());
    }
}
